package com.watson.architect.spring.write.watson.service;


import com.watson.architect.spring.write.core.Component;
import com.watson.architect.spring.write.core.InitializingBean;

/**
 * @author 周瑜
 */

@Component
public class OrderService implements InitializingBean {

    public void test() {
        System.out.println("test order");
    }

    @Override
    public void afterPropertiesSet() {
        System.out.println("属性初始化后，就会执行afterPropertiesSe了....");
    }


    public OrderService() {
        System.out.println("我是OrderService构造方法执行...");
    }
    
}
